package cn.itcast.service.cargo;

import cn.itcast.domain.cargo.ShippingOrder;
import cn.itcast.domain.cargo.ShippingOrderExample;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ShippingOrderService {
    int deleteByPrimaryKey(String shippingOrderId);

    int insert(ShippingOrder record);

    int insertSelective(ShippingOrder record);

    List<ShippingOrder> selectByExample(ShippingOrderExample example);

    ShippingOrder findById(String id);

    ShippingOrder selectByPrimaryKey(String shippingOrderId);

    int updateByPrimaryKeySelective(ShippingOrder record);

    int updateByPrimaryKey(ShippingOrder record);

    PageInfo<ShippingOrder> findByPage(
            ShippingOrderExample shippingOrderExample, Integer pageNum, Integer pageSize);

    void save(ShippingOrder shippingOrder);
}
